package com.link.base.base.forum.model;

import com.link.base.base.common.model.Attachment;
import com.link.base.base.image.model.Image;
import com.link.core.basic.model.BasicModel;

import java.util.ArrayList;
import java.util.List;

/**
 * 论坛帖子
 *
 * @author ouyangzhenqiang
 * @date 2018/11/7
 */
public class Forum extends BasicModel {
    /**
     * 内容
     */
    private String note;
    /**
     * 内容摘要
     */
    private String simpleNote;
    /**
     * 标题
     */
    private String noteTitle;
    /**
     * 图片地址
     */
    private String noteUrl;
    /**
     * 回复数量
     */
    private String replayNum;
    /**
     * 发帖人姓名
     */
    private String userName;
    /**
     * 排序字段  -- 用于筛选新帖、热帖
     */
    private String softField;
    /**
     * 模块id
     */
    private Long modelId;
    /**
     * 模块名字
     */
    private String modelType;
    /**
     * 平台
     */
    private String platform;
    /**
     * 一级分类 值列表类型：FORUM_TOP_CATEGORY
     */
    private String topCategory;
    /**
     * 二级分类 值列表类型：FORUM_SUB_CATEGORY
     */
    private String secCategory;
    /**
     * 图片地址列表，主要用于接收前端传输
     */
    private List<String> noteUrls = new ArrayList<String>();
    /**
     * 附件
     */
    private List<Attachment> attList;
    /**
     * 参与人
     */
    private List<People> peopleList;
    /**
     * 是否所有人参与
     */
    private String publicFlag;
    /**
     * 论坛搜索关键字1
     */
    private String forumSearchValue1;

    /**
     * 二级分类数量
     */
    private Integer secCategoryNum;
    /**
     * 帖子创建人头像
     */
    private String userIcon;
    /**
     * 标示是否公开
     */
    private String publicFlg;
    /**
     * 帖子浏览人数
     */
    private Integer pageviews;
    /**
     * 帖子阅读人数
     */
    private Integer readNum;
    /**
     * 帖子点赞数量
     */
    private Integer favorNum;
    /**
     * 帖子收藏人数
     */
    private Integer collectNum;
    /**
     * 帖子点赞标识
     */
    private String favorFlag;
    /**
     * 帖子收藏标识
     */
    private String collectFlag;
    /**
     * 帖子二级分类
     */
    private String secondaryCategory;
    /**
     * 图片列表
     */
    private List<Image> imageList = new ArrayList<Image>();
    /**
     * 查询条件
     */
    private String searchText;
    /**
     * 帖子所属人Id
     */
    private Long ownerId;
    /**
     * 回复人Id
     */
    private Long replyId;
    /**
     * 查询类型，查询我的收藏或者我赞过的帖子
     */
    private String queryType;

    /**用于PHP查询帖子*/
    /**
     * 用户id
     */
    private Long useridforphp;
    /**
     * 用户CorpID
     */
    private String usercorpidforphp;
    /**
     * 回复人Id
     */
    private Long replayId;


    public String getUserIcon() {
        return userIcon;
    }

    public void setUserIcon(String userIcon) {
        this.userIcon = userIcon;
    }

    public String getPublicFlg() {
        return publicFlg;
    }

    public void setPublicFlg(String publicFlg) {
        this.publicFlg = publicFlg;
    }

    public Integer getPageviews() {
        return pageviews;
    }

    public void setPageviews(Integer pageviews) {
        this.pageviews = pageviews;
    }

    public Integer getReadNum() {
        return readNum;
    }

    public void setReadNum(Integer readNum) {
        this.readNum = readNum;
    }

    public Integer getFavorNum() {
        return favorNum;
    }

    public void setFavorNum(Integer favorNum) {
        this.favorNum = favorNum;
    }

    public Integer getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Integer collectNum) {
        this.collectNum = collectNum;
    }

    public String getFavorFlag() {
        return favorFlag;
    }

    public void setFavorFlag(String favorFlag) {
        this.favorFlag = favorFlag;
    }

    public String getCollectFlag() {
        return collectFlag;
    }

    public void setCollectFlag(String collectFlag) {
        this.collectFlag = collectFlag;
    }

    public Integer getSecCategoryNum() {
        return secCategoryNum;
    }

    public void setSecCategoryNum(Integer secCategoryNum) {
        this.secCategoryNum = secCategoryNum;
    }

    public String getForumSearchValue1() {
        return forumSearchValue1;
    }

    public void setForumSearchValue1(String forumSearchValue1) {
        this.forumSearchValue1 = forumSearchValue1;
    }

    public String getSimpleNote() {
        return simpleNote;
    }

    public void setSimpleNote(String simpleNote) {
        this.simpleNote = simpleNote;
    }

    public String getPublicFlag() {
        return publicFlag;
    }

    public void setPublicFlag(String publicFlag) {
        this.publicFlag = publicFlag;
    }

    public List<People> getPeopleList() {
        return peopleList;
    }

    public void setPeopleList(List<People> peopleList) {
        this.peopleList = peopleList;
    }

    public List<Attachment> getAttList() {
        return attList;
    }

    public void setAttList(List<Attachment> attList) {
        this.attList = attList;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getNoteTitle() {
        return noteTitle;
    }

    public void setNoteTitle(String noteTitle) {
        this.noteTitle = noteTitle;
    }

    public String getNoteUrl() {
        return noteUrl;
    }

    public void setNoteUrl(String noteUrl) {
        this.noteUrl = noteUrl;
    }

    public String getReplayNum() {
        return replayNum;
    }

    public void setReplayNum(String replayNum) {
        this.replayNum = replayNum;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSoftField() {
        return softField;
    }

    public void setSoftField(String softField) {
        this.softField = softField;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public List<String> getNoteUrls() {
        return noteUrls;
    }

    public void setNoteUrls(List<String> noteUrls) {
        this.noteUrls = noteUrls;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public Long getReplayId() {
        return replayId;
    }

    public void setReplayId(Long replayId) {
        this.replayId = replayId;
    }

    public String getTopCategory() {
        return topCategory;
    }

    public void setTopCategory(String topCategory) {
        this.topCategory = topCategory;
    }

    public String getSecCategory() {
        return secCategory;
    }

    public void setSecCategory(String secCategory) {
        this.secCategory = secCategory;
    }

    public String getSecondaryCategory() {
        return secondaryCategory;
    }

    public void setSecondaryCategory(String secondaryCategory) {
        this.secondaryCategory = secondaryCategory;
    }

    public List<Image> getImageList() {
        return imageList;
    }

    public void setImageList(List<Image> imageList) {
        this.imageList = imageList;
    }

    @Override
    public String getSearchText() {
        return searchText;
    }

    @Override
    public void setSearchText(String searchText) {
        this.searchText = searchText;
    }

    public Long getReplyId() {
        return replyId;
    }

    public void setReplyId(Long replyId) {
        this.replyId = replyId;
    }

    public String getQueryType() {
        return queryType;
    }

    public void setQueryType(String queryType) {
        this.queryType = queryType;
    }

    public Long getUseridforphp() {
        return useridforphp;
    }

    public void setUseridforphp(Long useridforphp) {
        this.useridforphp = useridforphp;
    }

    public String getUsercorpidforphp() {
        return usercorpidforphp;
    }

    public void setUsercorpidforphp(String usercorpidforphp) {
        this.usercorpidforphp = usercorpidforphp;
    }
}
